import { ApiService } from './api'
import { config, env } from 'mdye'
// 写死演示
const appKey =  'demo_app_key'
const sign =  'demo_sign'
const workflowHooks = {
  PROJECT_SUBMIT: 'https://your-hook-url',
}

// const cdx = new ApiService(
//   'abe3914d3de38c45', 
//   'ZWE5ZDY4MmViOWQwNjNkMzg2NWRiMTJlZGZjMjE5ZDZlM2NmNzFmZDI4ZDZhNTY1ODQzNDExMTVkNWE1N2RiZQ==',
//   'https://www.dachen.vip/api/workflow/hooks/')

  const cdx = new ApiService(
  env.app_key, 
  env.app_sign,
  env.workflow_hooks)

// 仓当先项目
export {cdx}
